<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>轮播图</title>
    <link rel="stylesheet" href="../assets/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="../assets/css/swiper.css" />
  </head>

  <body>
    <div class="layui-card">
      <div class="layui-card-header">
        轮播图管理
        <button type="button" class="layui-btn layui-btn-normal" id="btn">
          <i class="layui-icon layui-icon-upload"></i>
          上传图片
        </button>
      </div>
      <!-- 文件域 -->
      <input
        type="file"
        id="file"
        multiple
        style="display: none"
        name="swipers"
      />
      <div class="layui-card-body">
        <table class="layui-table">
          <colgroup>
            <col width="130" />
            <col width="500" />
            <col width="750" />
            <col width="250" />
            <col />
          </colgroup>
          <thead>
            <tr>
              <th>ID</th>
              <th>图片预览</th>
              <th>图片路径</th>
              <th>状态</th>
              <th>操作</th>
            </tr>
          </thead>
          <tbody>
            <!-- <tr>
              <td>5</td>
              <td><img src="../assets/images/sample.jpg" alt="" /></td>
              <td>banner-1.png</td>
              <td>
                <span
                  data-id="{{$value.id}}"
                  data-status="2"
                  class="layui-badge layui-bg-green"
                  >√</span
                >
                <span
                  data-id="{{$value.id}}"
                  data-status="1"
                  class="layui-badge layui-bg-cyan"
                  >×</span
                >
              </td>
              <td>
                <button
                  type="button"
                  class="layui-btn layui-btn-danger layui-btn-xs"
                >
                  删除
                </button>
              </td>
            </tr> -->
          </tbody>
        </table>
      </div>
    </div>
    <script src="../assets/lib/layui/layui.all.js"></script>
    <script src="../assets/lib/jquery.js"></script>
    <script src="../assets/js/common.js"></script>
    <script src="../assets/js/swiper/swiper.js"></script>
  </body>
</html>
